package com.wy.service.impl;

import com.wy.mapper.UserMapper;
import com.wy.pojo.User;
import com.wy.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: wy
 * @Date:2019/10/26 18:50
 */
@Service
public class UserServiceImpl implements UserService {

      @Autowired
       private UserMapper userMapper;
    @Override
    public List<User> findAll() {
        return userMapper.findAll();
    }
}
